<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>侧边栏-MCS</title>
</head>
<body>

<th:block th:fragment="sidebar">

    <!-- 消息管理 -->
    <dl class="layui-nav-child">
        <dd data-name="opponent" th:if="${#authPermit.checkMenuPermit('/template/group/list.action')}">
            <a th:lay-href="|${SYS_MCS}/template/group/list.action|" lay-text="模板组管理">模板组管理</a>
        </dd>
        <dd data-name="opponent" th:if="${#authPermit.checkMenuPermit('/rule/scene/list.action')}">
            <a th:lay-href="|${SYS_MCS}/rule/scene/list.action|" lay-text="场景管理">场景管理</a>
        </dd>
        <dd data-name="opponent" th:if="${#authPermit.checkMenuPermit('/task/list.action')}">
            <a th:lay-href="|${SYS_MCS}/task/list.action|" lay-text="任务管理">任务管理</a>
        </dd>
        <dd data-name="opponent" th:if="${#authPermit.checkMenuPermit('/record/operation/list.action')}">
            <a th:lay-href="|${SYS_MCS}/record/operation/list.action|" lay-text="消息记录">消息记录</a>
        </dd>
        <dd data-name="opponent" th:if="${#authPermit.checkMenuPermit('/sms/account/list.action')}">
            <a th:lay-href="|${SYS_MCS}/sms/account/list.action|" lay-text="短信账号配置">短信账号配置</a>
        </dd>
        <dd data-name="opponent" th:if="${#authPermit.checkMenuPermit('/sms/sign/list.action')}">
            <a th:lay-href="|${SYS_MCS}/sms/sign/list.action|" lay-text="短信签名配置">短信签名配置</a>
        </dd>
        <dd data-name="opponent" th:if="${#authPermit.checkMenuPermit('/blacklist/list.action')}">
            <a th:lay-href="|${SYS_MCS}/blacklist/list.action|" lay-text="黑名单">黑名单</a>
        </dd>
    </dl>

</th:block>

</body>
</html>